package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc BffBusAppDocRelaDto
     * @使用场景
     */
    @Data
    public class BffBusAppDocRelaDto  implements Serializable {
      
    /**
     * 文档关系ID 
     */
    @ApiModelProperty("文档关系ID")
    private String	 unstructuredDataRelationshipId;

    /**
     * 文档ID 
     */
    @ApiModelProperty("文档ID")
    private String	 unstructuredDataId;

    /**
     * 文件相对路径地址 
     */
    @ApiModelProperty("文件相对路径地址")
    private String	 fileRelativePathAccess;
/**
     * 文档名称 
     */
    @ApiModelProperty("文档名称")
    private String	 unstructuredDataName;

    /**
     * 文件大小 
     */
    @ApiModelProperty("文件大小")
    private String	 fileSize;

    /**
     * 文档后缀 
     */
    @ApiModelProperty("文档后缀")
    private String	 postfix;

    /**
     * 文档明细类型 WORD:WORD文档 EXCEL:EXCEL文档 PDF:PDF文档
     */
    @ApiModelProperty("文档明细类型")
    private String	 unstructuredDataDetailType;

    /**
     * 是否支持预览 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否支持预览")
    private String	 isSupportPreview;
/**
     * 文档类型 FILE:文档 MEDIA_CONTENT:媒体内容 OTHER:其它
     */
    @ApiModelProperty("文档类型")
    private String	 unstructuredDataType;
/**
     * 排序 
     */
    @ApiModelProperty("排序")
    private Long	 orderNumber;

    /**
     * 操作时间 
     */
    @ApiModelProperty("操作时间")
    private Date	 operateTime;
/**
     * 是否是网盘引用关系 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否是网盘引用关系")
    private String	 isNetworkReference;
/**
     * 来源文档关系ID 
     */
    @ApiModelProperty("来源文档关系ID")
    private String	 sourceRelationshipId;
/**
     * 关系类型编码 DIRECT_RELATION:直接关系 INDIRECT_RELATIONSHIP:间接关系
     */
    @ApiModelProperty("关系类型编码")
    private String	 relationshipType;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffBusAppDocRelaDto that = (BffBusAppDocRelaDto) o;
      return  unstructuredDataRelationshipId == that.unstructuredDataRelationshipId&&unstructuredDataId == that.unstructuredDataId&&fileRelativePathAccess == that.fileRelativePathAccess&&unstructuredDataName == that.unstructuredDataName&&fileSize == that.fileSize&&postfix == that.postfix&&unstructuredDataDetailType == that.unstructuredDataDetailType&&isSupportPreview == that.isSupportPreview&&unstructuredDataType == that.unstructuredDataType&&orderNumber == that.orderNumber&&operateTime == that.operateTime&&isNetworkReference == that.isNetworkReference&&sourceRelationshipId == that.sourceRelationshipId&&relationshipType == that.relationshipType;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), unstructuredDataRelationshipId,unstructuredDataId,fileRelativePathAccess,unstructuredDataName,fileSize,postfix,unstructuredDataDetailType,isSupportPreview,unstructuredDataType,orderNumber,operateTime,isNetworkReference,sourceRelationshipId,relationshipType);
    }
    
      

    }
   